
<!DOCTYPE html>
<html lang="">


<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
  <meta name="theme-color" content="#202020">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <script src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>
  
  
    <meta name="keywords" content>
  

  
    <meta name="description" content="Python自动化运维从入门到进阶之路">
  
  
  
  <link rel="icon" type="image/x-icon" href="/images/footer-logo.png">
  
  <title>Python自动化运维从入门到进阶之路 [ 51AIOps 专注于运维自动化  微信： kaipython ]</title>
  
    <!-- stylesheets list from config.yml -->
    
      <link rel="stylesheet" href="//cdn.bootcss.com/pure/1.0.0/pure-min.css">
    
      <link rel="stylesheet" href="/css/xoxo.css">
    
  
</head>


<body>
  <div class="nav-container">
    <nav class="home-menu pure-menu pure-menu-horizontal">
  <a class="pure-menu-heading" href="/">
    
    <span class="title" style="text-transform:none">51AIOps 专注于运维自动化  微信： kaipython</span>
  </a>

  <ul class="pure-menu-list clearfix">
      
          
            
              <li class="pure-menu-item"><a href="/" class="pure-menu-link">首页</a></li>
            
          
      
  </ul>
   
</nav>

  </div>

  <div class="container" id="content-outer">
    <div class="inner" id="content-inner" style='margin-left:-68px!important'>
      <div class="post-container">
  <article class="post" id="post">
    <header class="post-header text-center">
      <h1 class="title">
        Python自动化运维从入门到进阶之路
      </h1>
      <span>
        
        <time class="time" datetime="2029-12-11T16:00:00.000Z">
        2029-12-12
      </time>
        
      </span>
      <span class="slash">/</span>
      <span class="post-meta">
      <span class="post-tags">
        
      </span>
    </span>
      <span class="slash">/</span>
      <span class="read">
      <span id="busuanzi_value_page_pv"></span> 点击
    </span>
      <span class="slash">/</span>
    </header>

    <div class="post-content">
      <p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E4%B8%80%E7%AB%A0Python%E7%9A%84%E4%BB%8B%E7%BB%8D%E5%92%8C%E5%AE%89%E8%A3%85/" target="_blank" rel="noopener">第一章 Python的介绍和安装</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E4%BA%8C%E7%AB%A0Python%E5%9F%BA%E7%A1%80%E5%85%A5%E9%97%A8/" target="_blank" rel="noopener">第二章 Python基础入门</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E4%B8%89%E7%AB%A0Python%E6%9D%A1%E4%BB%B6%E8%AF%AD%E5%8F%A5%E5%92%8C%E8%BF%90%E7%AE%97%E7%AC%A6/" target="_blank" rel="noopener">第三章 Python条件语句和运算符</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%9B%9B%E7%AB%A0Python%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E4%B9%8B%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%92%8C%E6%95%B4%E5%9E%8B/" target="_blank" rel="noopener">第四章 Python的数据类型之字符串和整型</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%9B%9B%E7%AB%A0Python%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E4%B9%8B%E5%88%97%E8%A1%A8%E5%92%8C%E5%85%83%E7%BB%84/" target="_blank" rel="noopener">第四章 Python的数据类型之列表和元组</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%9B%9B%E7%AB%A0Python%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E4%B9%8B%E5%AD%97%E5%85%B8%E5%92%8C%E9%9B%86%E5%90%88/" target="_blank" rel="noopener">第四章 Python的数据类型之字典和集合</a></p>
<p><a href="https://lupython.gitee.io/2020/04/27/%E7%AC%AC%E4%BA%94%E7%AB%A0%E6%96%87%E4%BB%B6%E7%9A%84%E6%93%8D%E4%BD%9C/" target="_blank" rel="noopener">第五章 文件的操作</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%85%AD%E7%AB%A0%E5%87%BD%E6%95%B0%E4%BB%8B%E7%BB%8D/" target="_blank" rel="noopener">第六章 函数介绍</a></p>
<p><a href="https://lupython.gitee.io/2020/04/27/%E7%AC%AC%E4%B8%83%E7%AB%A0%E8%BF%AD%E4%BB%A3%E5%99%A8/" target="_blank" rel="noopener">第七章 迭代器</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%85%AB%E7%AB%A0%E7%94%9F%E6%88%90%E5%99%A8%E5%92%8C%E5%88%97%E8%A1%A8%E7%94%9F%E6%88%90%E5%BC%8F/" target="_blank" rel="noopener">第八章 生成器和列表生成式</a></p>
<p><a href="https://lupython.gitee.io/2020/04/27/%E7%AC%AC%E4%B9%9D%E7%AB%A0%E8%A3%85%E9%A5%B0%E5%99%A8/" target="_blank" rel="noopener">第九章 装饰器</a></p>
<p><a href="https://lupython.gitee.io/2020/04/28/%E7%AC%AC%E5%8D%81%E7%AB%A0%E6%A8%A1%E5%9D%97%E5%92%8C%E5%8C%85/" target="_blank" rel="noopener">第十章 包和模块</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%8D%81%E4%B8%80%E7%AB%A0%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B%E5%88%9D%E8%AF%86/" target="_blank" rel="noopener">第十一章 面向对象编程初识</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%8D%81%E4%BA%8C%E7%AB%A0%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%9A%84%E4%B8%89%E5%A4%A7%E7%89%B9%E6%80%A7/" target="_blank" rel="noopener">第十二章 面向对象的三大特性</a></p>
<p><a href="https://lupython.gitee.io/2020/04/26/%E7%AC%AC%E5%8D%81%E4%B8%89%E7%AB%A0%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%B1%BB%E7%9A%84%E7%BB%84%E6%88%90%E6%88%90%E5%91%98/" target="_blank" rel="noopener">第十三章 面向对象类的组成成员</a></p>
<p><a href="https://lupython.gitee.io/2017/05/07/html%E7%9B%B8%E5%85%B3%E6%A6%82%E5%BF%B5/" target="_blank" rel="noopener">第十四章 HTML基础入门</a></p>
<p><a href="https://lupython.gitee.io/2017/05/07/CSS%E5%9F%BA%E7%A1%80%E5%AD%A6%E4%B9%A0/" target="_blank" rel="noopener">第十五章 CSS基础入门</a></p>
<p><a href="https://lupython.gitee.io/2017/05/07/javascript%E5%9F%BA%E7%A1%80%E5%AD%A6%E4%B9%A0%E7%9B%AE%E5%BD%95/" target="_blank" rel="noopener">第十六章 JavaScript基础入门</a></p>
<p><a href="https://lupython.gitee.io/2017/05/07/Javascript%E7%B1%BB%E5%BA%93%E4%BD%9C%E7%94%A8%E4%BB%A5%E5%8F%8A%E5%AF%B9%E6%AF%94/" target="_blank" rel="noopener">第十七章 JQuery的基础学习</a></p>
<p><a href="https://lupython.gitee.io/2019/09/29/%E7%AC%AC%E5%8D%81%E5%85%AB%E7%AB%A0Django%E7%9A%84%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9B%E5%BB%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%A1%B9%E7%9B%AE/" target="_blank" rel="noopener">第十八章Django的安装和初识</a></p>
<p><a href="https://lupython.gitee.io/2019/09/29/DjangoOrm%E6%A8%A1%E5%9E%8B%E7%9A%84%E4%BD%BF%E7%94%A8/" target="_blank" rel="noopener">第二十章Django模型的使用</a></p>
<p><a href="https://lupython.gitee.io/2019/09/29/Djangoorm%E5%A4%9A%E8%A1%A8%E5%AE%9E%E4%BE%8B/" target="_blank" rel="noopener">第二十一章Django多表实例</a></p>
<p><a href="https://lupython.gitee.io/2019/12/08/Django%E7%9A%84%E5%88%86%E9%A1%B5/" target="_blank" rel="noopener">第二十二章Django分页</a></p>
<p><a href="https://lupython.gitee.io/2019/11/09/Django%E7%9A%84cookie%E5%92%8Csession%E4%BB%8B%E7%BB%8D/" target="_blank" rel="noopener">第二十三章cookie和session的使用</a></p>
<p><a href="https://lupython.gitee.io/2019/12/09/Django%E7%9A%84auth%E6%A8%A1%E5%9D%97/" target="_blank" rel="noopener">第二十四章Auth模块的使用</a></p>
<p><a href="https://lupython.gitee.io/2019/12/08/Django%E7%9A%84%E4%B8%AD%E9%97%B4%E4%BB%B6/" target="_blank" rel="noopener">第二十五章Django的中间件</a></p>
<p><a href="https://lupython.gitee.io/2019/09/02/MVC和MTV的介绍/" target="_blank" rel="noopener">MVC和MTV的介绍</a></p>
<p>未完待续….</p>

    </div>

  </article>
  <div class="toc-container">
    

  </div>
</div>
<script type="text/javascript" src="//rf.revolvermaps.com/0/0/8.js?i=5sr5du46f27&amp;m=0&amp;c=ff0000&amp;cr1=ffffff&amp;f=arial&amp;l=33" async="async"></script>
<div class="copyright">
    <span>本作品采用</span>
    <a href="https://creativecommons.org/licenses/by/4.0/">知识共享署名 4.0 国际许可协议</a>
    <span>进行许可。 转载时请注明原文链接。</span>
</div>


  
    <div class="post-nav" style="margin-left:-168px;">
      <div class="post-nav-item post-nav-next">
        
          <span>〈 </span>
          <a href="/2020/12/09/鸡毛蒜皮定律/" rel="next" title="鸡毛蒜皮定律">
          鸡毛蒜皮定律
          </a>
        
      </div>
  
      <div class="post-nav-item post-nav-prev">
          
      </div>
    </div>
  


	
	<div style="width:109%; margin-left:-144px" id="lv-container" data-id="city" data-uid="MTAyMC80OTg5NS8yNjM4Ng==">
	<script type="text/javascript">
   	   (function(d, s) {
       		var j, e = d.getElementsByTagName(s)[0];

       		if (typeof LivereTower === 'function') { return; }

       		j = d.createElement(s);
       		j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
       		j.async = true;

       		e.parentNode.insertBefore(j, e);
   	   })(document, 'script');
	</script>
	<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
        </div>
	



    </div>

    

  </div>
  <footer class="footer text-center">
    <div id="bottom-inner">
        <a class="bottom-item" href target="_blank">GitHub</a> |
        <a class="bottom-item" href>友情链接</a> |
        <a class="bottom-item" href="https://hexo.io" target="_blank">Powered by hexo</a> |
        <a class="bottom-item" href="https://github.com/fooying/hexo-theme-xoxo-plus" target="_blank">Theme xoxo-plus</a> |
        <a class="bottom-item" href="/atom.xml">订阅</a>
    </div>
</footer>

  

<script>
  (function(window, document, undefined) {

    var timer = null;

    function returnTop() {
      cancelAnimationFrame(timer);
      timer = requestAnimationFrame(function fn() {
        var oTop = document.body.scrollTop || document.documentElement.scrollTop;
        if (oTop > 0) {
          document.body.scrollTop = document.documentElement.scrollTop = oTop - 50;
          timer = requestAnimationFrame(fn);
        } else {
          cancelAnimationFrame(timer);
        }
      });
    }

    var hearts = [];
    window.requestAnimationFrame = (function() {
      return window.requestAnimationFrame ||
        window.webkitRequestAnimationFrame ||
        window.mozRequestAnimationFrame ||
        window.oRequestAnimationFrame ||
        window.msRequestAnimationFrame ||
        function(callback) {
          setTimeout(callback, 1000 / 60);
        }
    })();
    init();

    function init() {
      css(".heart{z-index:9999;width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: absolute;}.heart:after{top: -5px;}.heart:before{left: -5px;}");
      attachEvent();
      gameloop();
      addMenuEvent();
    }

    function gameloop() {
      for (var i = 0; i < hearts.length; i++) {
        if (hearts[i].alpha <= 0) {
          document.body.removeChild(hearts[i].el);
          hearts.splice(i, 1);
          continue;
        }
        hearts[i].y--;
        hearts[i].scale += 0.004;
        hearts[i].alpha -= 0.013;
        hearts[i].el.style.cssText = "left:" + hearts[i].x + "px;top:" + hearts[i].y + "px;opacity:" + hearts[i].alpha + ";transform:scale(" + hearts[i].scale + "," + hearts[i].scale + ") rotate(45deg);background:" + hearts[i].color;
      }
      requestAnimationFrame(gameloop);
    }

    /**
     * 给logo设置点击事件
     * 
     * - 回到顶部
     * - 出现爱心
     */
    function attachEvent() {
      var old = typeof window.onclick === "function" && window.onclick;
      var logo = document.getElementById("logo");
      if (logo) {
        logo.onclick = function(event) {
          returnTop();
          old && old();
          createHeart(event);
        }
      }
      
    }

    function createHeart(event) {
      var d = document.createElement("div");
      d.className = "heart";
      hearts.push({
        el: d,
        x: event.clientX - 5,
        y: event.clientY - 5,
        scale: 1,
        alpha: 1,
        color: randomColor()
      });
      document.body.appendChild(d);
    }

    function css(css) {
      var style = document.createElement("style");
      style.type = "text/css";
      try {
        style.appendChild(document.createTextNode(css));
      } catch (ex) {
        style.styleSheet.cssText = css;
      }
      document.getElementsByTagName('head')[0].appendChild(style);
    }

    function randomColor() {
      // return "rgb(" + (~~(Math.random() * 255)) + "," + (~~(Math.random() * 255)) + "," + (~~(Math.random() * 255)) + ")";
      return "#F44336";
    }

    function addMenuEvent() {
      var menu = document.getElementById('menu-main-post');
      if (menu) {
        var toc = document.getElementById('toc');
        if (toc) {
          menu.onclick = function() {
            if (toc) {
              if (toc.style.display == 'block') {
                toc.style.display = 'none';
              } else {
                toc.style.display = 'block';
              }
            }
          };
        } else {
          menu.style.display = 'none';
        }
      }
    }

  })(window, document);
</script>

  



  

</body>
</html>
